package entity;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "tb_litigation")
public class Litigation{
    /**
     * 业务单号
     */
    @Column(name="business_id")
	private String businessId;
    /**
     * 业务所属分公司ID
     */
	@Column(name = "business_company_id")
	private String businessCompanyId;
    /**
     * 业务所属分公司名称
     */
	@Column(name ="business_company_name")
	private String businessCompanyName;
    /**
     * 业务类型
     */
	@Column(name ="business_type")
	private String businessType;
    /**
     * 业务类型名称
     */
	@Column(name ="business_type_name")
	private String businessTypeName;
    /**
     * 业务类型组别(信贷车贷及信贷展期 xiaodai_car 信贷房贷及小贷房贷展期 xiaodai_house 线下车贷及展期line_car 线下房贷及展期line_house)
     */
	@Column(name ="business_type_group")
	private String businessTypeGroup;
    /**
     * 诉讼三大阶段(0 诉讼 1 程序 2 执行)
     */
	@Column(name ="flow_step")
	private Integer flowStep;
    /**
     * 客户姓名
     */
	@Column(name ="customer_name")
	private String customerName;
    /**
     * 客户类型  0个人  1企业
     */
	@Column(name ="customer_type")
	private Integer customerType;
    /**
     * 客户证件号码(身份证或者三证合一、或者工商证件号码)
     */
	@Column(name ="customer_identify_card")
	private String customerIdentifyCard;
    /**
     * 业务获取人ID
     */
	@Column(name ="original_id")
	private String originalId;
    /**
     * 业务获取人名称
     */
	@Column(name ="original_name")
	private String originalName;

    /**
     * 借款金额
     */
	@Column(name ="final_borrow_money")
	private BigDecimal finalBorrowMoney;
    /**
     * 借款期限
     */
	@Column(name ="borrow_limit")
	private Integer borrowLimit;

	/**
	 * 借款利率
	 */
	@Column(name ="loan_rate")
	private BigDecimal loanRate;

    /**
     * 还款方式ID，1到期还本息，2每月付息到期还本，5每月等额本息,9是分期还本付息
     */
	@Column(name ="repayment_type_id")
	private Integer repaymentTypeId;
    /**
     * 已还本金(累计)
     */
	@Column(name ="repayment_principa")
	private BigDecimal repaymentPrincipa;
    /**
     * 已还期数
     */
	@Column(name ="repayment_periods")
	private Integer repaymentPeriods;
    /**
     * 总期数
     */
	@Column(name ="total_periods")
	private Integer totalPeriods;
    /**
     * 诉讼案件来源 0信贷系统 1新贷后系统
     */
	@Column(name ="source_system")
	private Integer sourceSystem;
    /**
     * 诉讼状态名称
     */
	@Column(name ="lawsuit_status_name")
	private String lawsuitStatusName;
    /**
     * 结案备注
     */
	@Column(name ="settle_remark")
	private String settleRemark;
    /**
     * 结案时间
     */
	@Column(name ="settle_time")
	private Date settleTime;
    /**
     * 立案时间(统筹组立案登记时间)
     */
	@Column(name ="accreditation_time")
	private Date accreditationTime;
    /**
     * 执行立案时间(执行组立案登记时间)
     */
	@Column(name ="execution_time")
	private Date executionTime;
    /**
     * 移交执行时间(执行组移交执行时间)
     */
	@Column(name ="over_time")
	private Date overTime;
    /**
     * 案件类型 (未指定 0 仲裁 10 诉讼 20)  
     */
	@Column(name ="law_type")
	private Integer lawType;
    /**
     * 诉讼状态( 诉讼申请10 待立案20 已立案30  诉讼开庭40 仲裁开庭50 判决已生效60 裁决已生效70 待执行立案90 执行中110 放弃执行115 终结执行120 已结案140)
     */
	@Column(name ="lawsuit_status")
	private Integer lawsuitStatus;
    /**
     * 诉讼仲裁状态(一审10 二审20 发回重审30 仲裁组庭40 仲裁审理50 判决已生效60 裁决已生效70)
     */
	@Column(name ="arbitration_status")
	private Integer arbitrationStatus;
    /**
     * 终结状态(终结无财产10 终结抵押物已拍卖20 终结特殊情形30 终结有财产未拍卖40)
     */
	@Column(name ="break_status")
	private Integer breakStatus;
    /**
     * 结案状态(已结清结案10(不可以恢复) 无财产结案20 抵押物已拍卖结案30 特殊情形结案(可恢复执行)40)
     */
	@Column(name ="close_status")
	private Integer closeStatus;
    /**
     * 恢复执行的来源(终结执行120 已结案140)
     */
	@Column(name ="regain_break_status_source")
	private Integer regainBreakStatusSource;
    /**
     * 恢复执行状态(恢复执行无财产 10 恢复执行抵押物已拍卖20 恢复执行特殊情形30 恢复执行有财产未拍卖40)
     */
	@Column(name ="regain_break_status")
	private Integer regainBreakStatus;
    /**
     * 结清状态(财务未结清0 财务已结清10)
     */
	@Column(name ="account_status")
	private Integer accountStatus;
    /**
     * 最新发起的流程ID
     */
	@Column(name ="last_process_id")
	private String lastProcessId;
    /**
     * 统筹跟进人id
     */
	@Column(name ="overall_planning_userid")
	private String overallPlanningUserid;
    /**
     * 执行跟进人id
     */
	@Column(name ="overall_runing_userid")
	private String overallRuningUserid;
    /**
     * 统筹分配备注
     */
	@Column(name ="overall_planning_remarks")
	private String overallPlanningRemarks;
    /**
     * 执行分配备注
     */
	@Column(name ="overall_runing_remarks")
	private String overallRuningRemarks;
    /**
     * 移交统筹时间(移交统筹组)
     */
	@Column(name ="overall_planning_time")
	private Date overallPlanningTime;
    /**
     * 移交诉讼时间(移交程序组)
     */
	@Column(name ="overall_litigation_time")
	private Date overallLitigationTime;
    /**
     * 移交执行时间(移交执行组)
     */
	@Column(name ="overall_runing_time")
	private Date overallRuningTime;
    /**
     * 创建人
     */
	@Column(name ="create_user")
	private String createUser;
    /**
     * 创建时间
     */
	@Column(name ="create_time")
	private Date createTime;
    /**
     * 更新人
     */
	@Column(name ="update_user")
	private String updateUser;
    /**
     * 更新时间
     */
	@Column(name ="update_time")
	private Date updateTime;


	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getBusinessCompanyId() {
		return businessCompanyId;
	}

	public void setBusinessCompanyId(String businessCompanyId) {
		this.businessCompanyId = businessCompanyId;
	}

	public String getBusinessCompanyName() {
		return businessCompanyName;
	}

	public void setBusinessCompanyName(String businessCompanyName) {
		this.businessCompanyName = businessCompanyName;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public String getBusinessTypeName() {
		return businessTypeName;
	}

	public void setBusinessTypeName(String businessTypeName) {
		this.businessTypeName = businessTypeName;
	}

	public String getBusinessTypeGroup() {
		return businessTypeGroup;
	}

	public void setBusinessTypeGroup(String businessTypeGroup) {
		this.businessTypeGroup = businessTypeGroup;
	}

	public Integer getFlowStep() {
		return flowStep;
	}

	public void setFlowStep(Integer flowStep) {
		this.flowStep = flowStep;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public Integer getCustomerType() {
		return customerType;
	}

	public void setCustomerType(Integer customerType) {
		this.customerType = customerType;
	}

	public String getCustomerIdentifyCard() {
		return customerIdentifyCard;
	}

	public void setCustomerIdentifyCard(String customerIdentifyCard) {
		this.customerIdentifyCard = customerIdentifyCard;
	}

	public String getOriginalId() {
		return originalId;
	}

	public void setOriginalId(String originalId) {
		this.originalId = originalId;
	}

	public String getOriginalName() {
		return originalName;
	}

	public void setOriginalName(String originalName) {
		this.originalName = originalName;
	}

	public BigDecimal getFinalBorrowMoney() {
		return finalBorrowMoney;
	}

	public void setFinalBorrowMoney(BigDecimal finalBorrowMoney) {
		this.finalBorrowMoney = finalBorrowMoney;
	}

	public Integer getBorrowLimit() {
		return borrowLimit;
	}

	public void setBorrowLimit(Integer borrowLimit) {
		this.borrowLimit = borrowLimit;
	}

	public Integer getRepaymentTypeId() {
		return repaymentTypeId;
	}

	public void setRepaymentTypeId(Integer repaymentTypeId) {
		this.repaymentTypeId = repaymentTypeId;
	}

	public BigDecimal getRepaymentPrincipa() {
		return repaymentPrincipa;
	}

	public void setRepaymentPrincipa(BigDecimal repaymentPrincipa) {
		this.repaymentPrincipa = repaymentPrincipa;
	}

	public Integer getRepaymentPeriods() {
		return repaymentPeriods;
	}

	public void setRepaymentPeriods(Integer repaymentPeriods) {
		this.repaymentPeriods = repaymentPeriods;
	}

	public Integer getTotalPeriods() {
		return totalPeriods;
	}

	public void setTotalPeriods(Integer totalPeriods) {
		this.totalPeriods = totalPeriods;
	}

	public Integer getSourceSystem() {
		return sourceSystem;
	}

	public void setSourceSystem(Integer sourceSystem) {
		this.sourceSystem = sourceSystem;
	}

	public String getLawsuitStatusName() {
		return lawsuitStatusName;
	}

	public void setLawsuitStatusName(String lawsuitStatusName) {
		this.lawsuitStatusName = lawsuitStatusName;
	}

	public String getSettleRemark() {
		return settleRemark;
	}

	public void setSettleRemark(String settleRemark) {
		this.settleRemark = settleRemark;
	}

	public Date getSettleTime() {
		return settleTime;
	}

	public void setSettleTime(Date settleTime) {
		this.settleTime = settleTime;
	}

	public Date getAccreditationTime() {
		return accreditationTime;
	}

	public void setAccreditationTime(Date accreditationTime) {
		this.accreditationTime = accreditationTime;
	}

	public Date getExecutionTime() {
		return executionTime;
	}

	public void setExecutionTime(Date executionTime) {
		this.executionTime = executionTime;
	}

	public Date getOverTime() {
		return overTime;
	}

	public void setOverTime(Date overTime) {
		this.overTime = overTime;
	}

	public Integer getLawType() {
		return lawType;
	}

	public void setLawType(Integer lawType) {
		this.lawType = lawType;
	}

	public Integer getLawsuitStatus() {
		return lawsuitStatus;
	}

	public void setLawsuitStatus(Integer lawsuitStatus) {
		this.lawsuitStatus = lawsuitStatus;
	}

	public Integer getArbitrationStatus() {
		return arbitrationStatus;
	}

	public void setArbitrationStatus(Integer arbitrationStatus) {
		this.arbitrationStatus = arbitrationStatus;
	}

	public Integer getBreakStatus() {
		return breakStatus;
	}

	public void setBreakStatus(Integer breakStatus) {
		this.breakStatus = breakStatus;
	}

	public Integer getCloseStatus() {
		return closeStatus;
	}

	public void setCloseStatus(Integer closeStatus) {
		this.closeStatus = closeStatus;
	}

	public Integer getRegainBreakStatusSource() {
		return regainBreakStatusSource;
	}

	public void setRegainBreakStatusSource(Integer regainBreakStatusSource) {
		this.regainBreakStatusSource = regainBreakStatusSource;
	}

	public Integer getRegainBreakStatus() {
		return regainBreakStatus;
	}

	public void setRegainBreakStatus(Integer regainBreakStatus) {
		this.regainBreakStatus = regainBreakStatus;
	}

	public Integer getAccountStatus() {
		return accountStatus;
	}

	public void setAccountStatus(Integer accountStatus) {
		this.accountStatus = accountStatus;
	}

	public String getLastProcessId() {
		return lastProcessId;
	}

	public void setLastProcessId(String lastProcessId) {
		this.lastProcessId = lastProcessId;
	}

	public String getOverallPlanningUserid() {
		return overallPlanningUserid;
	}

	public void setOverallPlanningUserid(String overallPlanningUserid) {
		this.overallPlanningUserid = overallPlanningUserid;
	}

	public String getOverallRuningUserid() {
		return overallRuningUserid;
	}

	public void setOverallRuningUserid(String overallRuningUserid) {
		this.overallRuningUserid = overallRuningUserid;
	}

	public String getOverallPlanningRemarks() {
		return overallPlanningRemarks;
	}

	public void setOverallPlanningRemarks(String overallPlanningRemarks) {
		this.overallPlanningRemarks = overallPlanningRemarks;
	}

	public String getOverallRuningRemarks() {
		return overallRuningRemarks;
	}

	public void setOverallRuningRemarks(String overallRuningRemarks) {
		this.overallRuningRemarks = overallRuningRemarks;
	}

	public Date getOverallPlanningTime() {
		return overallPlanningTime;
	}

	public void setOverallPlanningTime(Date overallPlanningTime) {
		this.overallPlanningTime = overallPlanningTime;
	}

	public Date getOverallLitigationTime() {
		return overallLitigationTime;
	}

	public void setOverallLitigationTime(Date overallLitigationTime) {
		this.overallLitigationTime = overallLitigationTime;
	}

	public Date getOverallRuningTime() {
		return overallRuningTime;
	}

	public void setOverallRuningTime(Date overallRuningTime) {
		this.overallRuningTime = overallRuningTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public BigDecimal getLoanRate() {
		return loanRate;
	}

	public void setLoanRate(BigDecimal loanRate) {
		this.loanRate = loanRate;
	}
}
